//
//  RHEndPointModel.h
//  RuiHeAppApp
//
//  Created by Yan Chen on 2023/10/16.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface RHEndPointModel : BaseModel
@property (nonatomic ,copy) NSString *deviceId;
//类型
@property (nonatomic ,copy) NSString *endpointCode;
//名称
@property (nonatomic ,copy) NSString *endpointName;
//端点
@property (nonatomic ,copy) NSString *endpoint;
@property (nonatomic ,copy) NSString *sn;
@property (nonatomic ,copy) NSString *parentSn;

@property (nonatomic ,copy) NSString *firmwareType;

//逆变器
@property (nonatomic ,copy) NSString *mainCpu;
@property (nonatomic ,copy) NSString *secondCpu;
@property (nonatomic ,copy) NSString *dsp;

@property (nonatomic ,copy) NSString *cpu;
@property (nonatomic ,copy) NSString *lcd;
@property (nonatomic ,copy) NSString *arm;
//EMS
@property (nonatomic ,copy) NSString *boxSn;//板序列号
@property (nonatomic ,copy) NSString *lastVersion;//软件版本
@property (nonatomic ,copy) NSString *hardVersion;//硬件版本
@property (nonatomic ,copy) NSString *prtclVer;//内网协议
@property (nonatomic ,copy) NSString *time;//


@property (nonatomic ,assign) NSInteger endpointId;//id
@property (nonatomic ,assign) NSInteger endpointTypeId;//typeid
@property (nonatomic ,assign) NSInteger state;//  1:在线  2:失联
@property (nonatomic ,assign) NSInteger workState;//  0:正常  1:故障 2:告警 3:保护

//部件列表所用到
@property (nonatomic ,copy) NSString *plantName;//所属电站
@property (nonatomic ,copy) NSString *deviceName;//所属设备
@property (nonatomic ,copy) NSString *deviceTypeCode;//所属电站
@property (nonatomic ,copy) NSString *deviceInfoId;//所属设备的id
@end

NS_ASSUME_NONNULL_END
